package UCM;

import Views.MainUI;
import DAO.MySQLDAOFactory;

public class UCStartUp {
	  private static MySQLDAOFactory factory;

    /**
     * Initualises the main view and starts it running
     * See tut4 for more code/details.
     * @param args
     */
    public static void main(String[] args) {
	  if (args.length != 0) {
	  	   factory = new MySQLDAOFactory(args[0]);
        }
        MainUI mainView = new MainUI();

    }
}
